<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en-US">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.12.0"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Geo3DML-CPP: include/geo3dml/Matrix4x4.h Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<script type="text/javascript" src="clipboard.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="cookie.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr id="projectrow">
  <td id="projectalign">
   <div id="projectname">Geo3DML-CPP
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.12.0 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "search/",'.html');
/* @license-end */
</script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() { codefold.init(0); });
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() {
  initMenu('',true,false,'search.php','Search',false);
  $(function() { init_search(); });
});
/* @license-end */
</script>
<div id="main-nav"></div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function(){ initResizable(false); });
/* @license-end */
</script>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<div id="MSearchResults">
<div class="SRPage">
<div id="SRIndex">
<div id="SRResults"></div>
<div class="SRStatus" id="Loading">Loading...</div>
<div class="SRStatus" id="Searching">Searching...</div>
<div class="SRStatus" id="NoMatches">No Matches</div>
</div>
</div>
</div>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="dir_d44c64559bbebec7f509842c48db8b23.html">include</a></li><li class="navelem"><a class="el" href="dir_acc7f90eaa859a07dba55a8b62805b11.html">geo3dml</a></li>  </ul>
</div>
</div><!-- top -->
<div id="doc-content">
<div class="header">
  <div class="headertitle"><div class="title">Matrix4x4.h</div></div>
</div><!--header-->
<div class="contents">
<a href="_matrix4x4_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a id="l00001" name="l00001"></a><span class="lineno">    1</span><span class="comment">// UTF-8编码</span></div>
<div class="line"><a id="l00002" name="l00002"></a><span class="lineno">    2</span><span class="preprocessor">#pragma once</span></div>
<div class="line"><a id="l00003" name="l00003"></a><span class="lineno">    3</span> </div>
<div class="line"><a id="l00004" name="l00004"></a><span class="lineno">    4</span><span class="keyword">namespace </span><a class="code hl_namespace" href="namespacegeo3dml.html">geo3dml</a> {</div>
<div class="line"><a id="l00005" name="l00005"></a><span class="lineno">    5</span> </div>
<div class="foldopen" id="foldopen00006" data-start="{" data-end="};">
<div class="line"><a id="l00006" name="l00006"></a><span class="lineno"><a class="line" href="classgeo3dml_1_1_matrix4x4.html">    6</a></span>    <span class="keyword">class </span><a class="code hl_class" href="classgeo3dml_1_1_matrix4x4.html">Matrix4x4</a> {</div>
<div class="line"><a id="l00007" name="l00007"></a><span class="lineno">    7</span>    <span class="keyword">public</span>:</div>
<div class="line"><a id="l00008" name="l00008"></a><span class="lineno"><a class="line" href="classgeo3dml_1_1_matrix4x4.html#a536b93fb3688711c686f18cd13193d1d">    8</a></span>        <a class="code hl_function" href="classgeo3dml_1_1_matrix4x4.html#a536b93fb3688711c686f18cd13193d1d">Matrix4x4</a>();</div>
<div class="line"><a id="l00009" name="l00009"></a><span class="lineno"><a class="line" href="classgeo3dml_1_1_matrix4x4.html#a824bb115658c3bf8395b09a870e72b6e">    9</a></span>        <a class="code hl_function" href="classgeo3dml_1_1_matrix4x4.html#a824bb115658c3bf8395b09a870e72b6e">Matrix4x4</a>(<span class="keyword">const</span> <a class="code hl_class" href="classgeo3dml_1_1_matrix4x4.html">Matrix4x4</a>&amp; m);</div>
<div class="line"><a id="l00010" name="l00010"></a><span class="lineno"><a class="line" href="classgeo3dml_1_1_matrix4x4.html#a7861bbe523c9ffaec963aa89469dc7da">   10</a></span>        <a class="code hl_function" href="classgeo3dml_1_1_matrix4x4.html#a7861bbe523c9ffaec963aa89469dc7da">~Matrix4x4</a>();</div>
<div class="line"><a id="l00011" name="l00011"></a><span class="lineno">   11</span> </div>
<div class="line"><a id="l00012" name="l00012"></a><span class="lineno"><a class="line" href="classgeo3dml_1_1_matrix4x4.html#ab90b6011caaff3db5a943f2005be4301">   12</a></span>        <a class="code hl_class" href="classgeo3dml_1_1_matrix4x4.html">Matrix4x4</a>&amp; <a class="code hl_function" href="classgeo3dml_1_1_matrix4x4.html#ab90b6011caaff3db5a943f2005be4301">operator=</a>(<span class="keyword">const</span> <a class="code hl_class" href="classgeo3dml_1_1_matrix4x4.html">Matrix4x4</a>&amp; m);</div>
<div class="line"><a id="l00013" name="l00013"></a><span class="lineno">   13</span> </div>
<div class="line"><a id="l00016" name="l00016"></a><span class="lineno"><a class="line" href="classgeo3dml_1_1_matrix4x4.html#aa3380553137673b499b0afa618d941b2">   16</a></span>        <a class="code hl_class" href="classgeo3dml_1_1_matrix4x4.html">Matrix4x4</a>&amp; <a class="code hl_function" href="classgeo3dml_1_1_matrix4x4.html#aa3380553137673b499b0afa618d941b2">Identify</a>();</div>
<div class="line"><a id="l00017" name="l00017"></a><span class="lineno">   17</span> </div>
<div class="line"><a id="l00023" name="l00023"></a><span class="lineno"><a class="line" href="classgeo3dml_1_1_matrix4x4.html#ada2973e44539d7a32d828e20a3df87de">   23</a></span>        <a class="code hl_class" href="classgeo3dml_1_1_matrix4x4.html">Matrix4x4</a>&amp; <a class="code hl_function" href="classgeo3dml_1_1_matrix4x4.html#ada2973e44539d7a32d828e20a3df87de">Element</a>(<span class="keywordtype">int</span> row, <span class="keywordtype">int</span> col, <span class="keywordtype">double</span> v);</div>
<div class="line"><a id="l00024" name="l00024"></a><span class="lineno">   24</span> </div>
<div class="line"><a id="l00029" name="l00029"></a><span class="lineno"><a class="line" href="classgeo3dml_1_1_matrix4x4.html#ae3ad71a96c39c24033e4d6b5fa55a472">   29</a></span>        <span class="keywordtype">double</span> <a class="code hl_function" href="classgeo3dml_1_1_matrix4x4.html#ae3ad71a96c39c24033e4d6b5fa55a472">Element</a>(<span class="keywordtype">int</span> row, <span class="keywordtype">int</span> col) <span class="keyword">const</span>;</div>
<div class="line"><a id="l00030" name="l00030"></a><span class="lineno">   30</span> </div>
<div class="line"><a id="l00033" name="l00033"></a><span class="lineno"><a class="line" href="classgeo3dml_1_1_matrix4x4.html#a7fba782d8095922081abc99687a0e8c2">   33</a></span>        <span class="keywordtype">double</span> <a class="code hl_function" href="classgeo3dml_1_1_matrix4x4.html#a7fba782d8095922081abc99687a0e8c2">Determinant</a>() <span class="keyword">const</span>;</div>
<div class="line"><a id="l00034" name="l00034"></a><span class="lineno">   34</span> </div>
<div class="line"><a id="l00035" name="l00035"></a><span class="lineno">   35</span>    <span class="keyword">private</span>:</div>
<div class="line"><a id="l00037" name="l00037"></a><span class="lineno"><a class="line" href="classgeo3dml_1_1_matrix4x4.html#a8a63296e08fc2a80bcaeffdd34e3bb31">   37</a></span>        <span class="keywordtype">double</span> <a class="code hl_variable" href="classgeo3dml_1_1_matrix4x4.html#a8a63296e08fc2a80bcaeffdd34e3bb31">matrix_</a>[16];</div>
<div class="line"><a id="l00038" name="l00038"></a><span class="lineno">   38</span>    };</div>
</div>
<div class="line"><a id="l00039" name="l00039"></a><span class="lineno">   39</span>}</div>
<div class="ttc" id="aclassgeo3dml_1_1_matrix4x4_html"><div class="ttname"><a href="classgeo3dml_1_1_matrix4x4.html">geo3dml::Matrix4x4</a></div><div class="ttdef"><b>Definition</b> Matrix4x4.h:6</div></div>
<div class="ttc" id="aclassgeo3dml_1_1_matrix4x4_html_a536b93fb3688711c686f18cd13193d1d"><div class="ttname"><a href="classgeo3dml_1_1_matrix4x4.html#a536b93fb3688711c686f18cd13193d1d">geo3dml::Matrix4x4::Matrix4x4</a></div><div class="ttdeci">Matrix4x4()</div></div>
<div class="ttc" id="aclassgeo3dml_1_1_matrix4x4_html_a7861bbe523c9ffaec963aa89469dc7da"><div class="ttname"><a href="classgeo3dml_1_1_matrix4x4.html#a7861bbe523c9ffaec963aa89469dc7da">geo3dml::Matrix4x4::~Matrix4x4</a></div><div class="ttdeci">~Matrix4x4()</div></div>
<div class="ttc" id="aclassgeo3dml_1_1_matrix4x4_html_a7fba782d8095922081abc99687a0e8c2"><div class="ttname"><a href="classgeo3dml_1_1_matrix4x4.html#a7fba782d8095922081abc99687a0e8c2">geo3dml::Matrix4x4::Determinant</a></div><div class="ttdeci">double Determinant() const</div><div class="ttdoc">计算该矩阵的行列式。</div></div>
<div class="ttc" id="aclassgeo3dml_1_1_matrix4x4_html_a824bb115658c3bf8395b09a870e72b6e"><div class="ttname"><a href="classgeo3dml_1_1_matrix4x4.html#a824bb115658c3bf8395b09a870e72b6e">geo3dml::Matrix4x4::Matrix4x4</a></div><div class="ttdeci">Matrix4x4(const Matrix4x4 &amp;m)</div></div>
<div class="ttc" id="aclassgeo3dml_1_1_matrix4x4_html_a8a63296e08fc2a80bcaeffdd34e3bb31"><div class="ttname"><a href="classgeo3dml_1_1_matrix4x4.html#a8a63296e08fc2a80bcaeffdd34e3bb31">geo3dml::Matrix4x4::matrix_</a></div><div class="ttdeci">double matrix_[16]</div><div class="ttdoc">行优先的矩阵，即首4个元素对应矩阵第一行从左至右的4个元素。</div><div class="ttdef"><b>Definition</b> Matrix4x4.h:37</div></div>
<div class="ttc" id="aclassgeo3dml_1_1_matrix4x4_html_aa3380553137673b499b0afa618d941b2"><div class="ttname"><a href="classgeo3dml_1_1_matrix4x4.html#aa3380553137673b499b0afa618d941b2">geo3dml::Matrix4x4::Identify</a></div><div class="ttdeci">Matrix4x4 &amp; Identify()</div><div class="ttdoc">将矩阵置为单位矩阵。</div></div>
<div class="ttc" id="aclassgeo3dml_1_1_matrix4x4_html_ab90b6011caaff3db5a943f2005be4301"><div class="ttname"><a href="classgeo3dml_1_1_matrix4x4.html#ab90b6011caaff3db5a943f2005be4301">geo3dml::Matrix4x4::operator=</a></div><div class="ttdeci">Matrix4x4 &amp; operator=(const Matrix4x4 &amp;m)</div></div>
<div class="ttc" id="aclassgeo3dml_1_1_matrix4x4_html_ada2973e44539d7a32d828e20a3df87de"><div class="ttname"><a href="classgeo3dml_1_1_matrix4x4.html#ada2973e44539d7a32d828e20a3df87de">geo3dml::Matrix4x4::Element</a></div><div class="ttdeci">Matrix4x4 &amp; Element(int row, int col, double v)</div><div class="ttdoc">设置矩阵元素的值。</div></div>
<div class="ttc" id="aclassgeo3dml_1_1_matrix4x4_html_ae3ad71a96c39c24033e4d6b5fa55a472"><div class="ttname"><a href="classgeo3dml_1_1_matrix4x4.html#ae3ad71a96c39c24033e4d6b5fa55a472">geo3dml::Matrix4x4::Element</a></div><div class="ttdeci">double Element(int row, int col) const</div><div class="ttdoc">取矩阵元素的值。</div></div>
<div class="ttc" id="anamespacegeo3dml_html"><div class="ttname"><a href="namespacegeo3dml.html">geo3dml</a></div><div class="ttdef"><b>Definition</b> AbstractMetadata.h:6</div></div>
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by&#160;<a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.12.0
</small></address>
</div><!-- doc-content -->
</body>
</html>
